QT += gui-private waylandclient-private
CONFIG += wayland-scanner

QMAKE_USE += wayland-client
qtConfig(xkbcommon): \
    QMAKE_USE_PRIVATE += xkbcommon

WAYLANDCLIENTSOURCES += \
    ../../../3rdparty/protocol/ukui-blur.xml \
    ../../../3rdparty/protocol/ukui-shell.xml \
    ../../../3rdparty/protocol/xdg-activation-v1.xml \
    ../../../3rdparty/protocol/xdg-decoration-unstable-v1.xml \
    ../../../3rdparty/protocol/xdg-dialog-v1.xml \
    ../../../3rdparty/protocol/xdg-shell.xml \
    ../../../3rdparty/protocol/slide.xml \

HEADERS += \
    logging.h \
    ukuiblur.h \
    kde-slide.h \
    ukuishell.h \
    ukuishellintegration.h \
    ukuishellsurface.h \
    xdgactivationv1.h \
    xdgdecorationv1.h \
    xdgdialogv1.h \

SOURCES += \
    main.cpp \
    logging.cpp \
    kde-slide.cpp \
    ukuiblur.cpp \
    ukuishell.cpp \
    ukuishellintegration.cpp \
    ukuishellsurface.cpp \
    xdgactivationv1.cpp \
    xdgdecorationv1.cpp \
    xdgdialogv1.cpp \

OTHER_FILES += \
    ukui-shell.json

PLUGIN_TYPE = wayland-shell-integration
PLUGIN_CLASS_NAME = QWaylandXdgShellIntegrationPlugin
load(qt_plugin)
